<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false" session="true" 
     isErrorPage="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
		<c:forEach items="${menu}" var="menup" varStatus="m">
			<div>
			<c:if test="${menup.privilegePath=='*'}">
				<div class="click" onclick="displayMeun('ul${m.count}')">
					<a href="javascript:void(0)">${menup.parentName}</a>
				</div>
			</c:if>
				<ul id="ul${m.count}" style="display: none;">
				<c:forEach items="${menu}" var="menuChild" varStatus="mc">
					<c:if test="${menuChild.parentId==menup.id}">
						<li onclick="jumpPage('PageServlet','${menuChild.privilegePath}')"><a href="javascript:void(0)">${menuChild.parentName}</a></li>
					</c:if>
				</c:forEach>
				</ul>
			</div>
			
		</c:forEach>
		<!--<div>
			<div class="click" onclick="displayMeun('ul1')"><a href="javascript:void(0)">用户管理</a></div>
			<ul id="ul1" style="display: none;">
				<li onclick="jumpPage('PageServlet','user')"><a href="javascript:void(0)">系统用户管理</a></li>
				<li onclick="jumpPage('PageServlet','myinfo')"><a href="javascript:void(0)">个人信息管理</a></li>
				<li onclick=""><a href="javascript:void(0)">角色维护</a></li>
				<li onclick=""><a href="javascript:void(0)">权限维护</a></li>
				  
					<li onclick="openBox('register')"><a href="javascript:void(0)">添加新用户</a></li>
					<li onclick="openBox('edit')"><a href="javascript:void(0)">修改个人信息</a></li>
					<li onclick="showTable(0,10)"><a href="javascript:void(0)">查看所有用户</a></li>
				
			</ul>
		</div>
		<div>
			<div class="click" onclick="displayMeun('ul2')"><a href="javascript:void(0)">部门管理</a></div>
			<ul id="ul2" style="display: none;">
				<li onclick=""><a href="javascript:void(0)">添加部门</a></li>
				<li onclick=""><a href="javascript:void(0)">修改部门信息</a></li>
				<li onclick=""><a href="javascript:void(0)">查看部门信息</a></li>
			</ul>
		</div>
		<div>
			<div class="click" onclick="displayMeun('ul3')"><a href="javascript:void(0)">文件管理</a></div>
			<ul id="ul3" style="display: none;">
				<li onclick="jumpPage('PageServlet','downLoad')"><a href="javascript:void(0)">文件下载</a></li>
				<li onclick=""><a href="javascript:void(0)">文件上传</a></li>
				<li onclick=""><a href="javascript:void(0)">查看文件信息</a></li>
				<li onclick=""><a href="javascript:void(0)">不查看文件信息</a></li>
			</ul>
		</div>-->
		